<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录-{wc:fun:_cfg("web_name")}</title>
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_STYLE}/css/Comm.css"/>
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_STYLE}/css/login.css"/>
<script type="text/javascript" src="{G_TEMPLATES_STYLE}/js/JQuery.js"></script>
<link href="{G_TEMPLATES_STYLE}/js/style.css" rel="stylesheet" type="text/css" />
<link href="{G_TEMPLATES_STYLE}/js/demo.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{G_TEMPLATES_STYLE}/js/jquery.Validform.min.js"></script>

<!-- 新页面start -->

<!-- 新页面end -->

</head>
<body>
 <script type="text/javascript">
$(function(){		
	// var demo=$(".registerform").Validform({
	// 	tiptype:2,
	// });

 //    var checkcode=document.getElementById('checkcode');
 //    checkcode.src = checkcode.src + new Date().getTime();
 //    var src=checkcode.src;
 //    checkcode.onclick=function(){
 //        this.src=src+'/'+new Date().getTime();
 //    }


    $('#t-no').click(function(){
    	$(this).addClass('z-curr');
    	$('#t-ma').removeClass('z-curr');
    	$('#defaultLoginContainer0').css('display','none');
    	$('#Loginform').css('display','block');
    })   
    $('#t-ma').click(function(){
    	$(this).addClass('z-curr');
    	$('#t-no').removeClass('z-curr');
    	$('#Loginform').css('display','none');
    	$('#defaultLoginContainer0').css('display','block');
    })
})
</script>
<div class="login">

	<div class="login_top">
		<h1><a rel="nofollow" href="{G_WEB_PATH}"><img src="{G_UPLOAD_PATH}/{wc:fun:Getlogo()}"></a></h1>
		<p><a rel="nofollow" href="{G_WEB_PATH}" class="back_home">返回首页</a><a href="{WEB_PATH}/help/1" target="_blank" class="help">帮助中心</a></p>
	</div>
	<div class="login_bg" style="width: 100%;padding: 0">
		<div id="loadingPicBlock" class="login_banner">
			<div class="login_box" id="LoginForm">
			<form class="registerform" method="post" action="">
				<!-- <h3>{wc:fun:_cfg('web_name_two')} - 用户登录</h3> -->
				<div id="defaultLoginTab" class="login-tab">
					<!-- <a href="javascript:;" class="z-curr">扫码登录</a> -->
					<a href="javascript:;"><span id="t-ma" class="z-curr" style="display: none;">扫码登录</span></a>
                    <!-- <b></b> -->
                    <a href="javascript:;"><span  id="t-no" class="z-curr">账号登录</span></a>
                </div>

                <div class="clrfix login-content">
                        <div id="defaultLoginContainer0" class="scan-code clrfix" style="display: none;">
                            <div style="display: block;" id="qrLoginInnerContainerDiv">
                                <div>
                                    <div class="app-code" style="left: 0px;">
                                        <img src="https://webapi.1yyg.com/api/QR/GetLoginQRCode?uniqueStr=3JH868uxXiRb1WBi7Bea0JrvSUOKK5z0d.1ng7BaKABuuq7wiBV*x7aeNsCn4OSGGFE1qe.7QhPTsO1eIabs0w==" id="qrLoginQrImg" class="" alt="">
                                        <div class="g-failure" id="qrCodeExpireDiv" style="">
                                            <p>
                                                <span>二维码已失效</span>
                                                <a href="javascript:;" id="qrLoginRefresh">刷新</a>
                                            </p>
                                            <em></em>
                                        </div>
                                    </div>

                                    <div class="z-guide" id="qrLoginGuideDiv">
                                        <img src="https://skin.1yyg.net/Passport/Images/app_03.jpg" alt="">
                                    </div>
                                </div>
                                <p class="gray9 z-prompt">请使用<a class="orange" href="" target="_blank">1元云购手机App</a>扫描二维码</p>
                            </div>

                            <div class="g-success gray9" id="qrLoginInnerConfirmDiv" style="display: none;">
                                <i class="passport-icon"></i>
                                扫描成功！
                                <cite class="gray6">请在手机上确认登录</cite>
                                <div class="z-return"><a href="javascript:;" class="orange" id="goBackToQrCode">返回二维码登录</a></div>
                            </div>

                        </div>

                        <div id="Loginform" class="login-panel" style="display: block;">
                            <dl>
                                <dd>
                                    <div class="register-form-con clrfix  ">
                                        <ul id="loginContainerUl">
                                            <li>
                                                <input id="username" type="text" maxlength="100" tabindex="1" autocomplete="off" value="" name="username"  datatype="m | e" nullmsg="请填写帐号！" errormsg="手机号" placeholder="手机号">
                                                <b class="passport-icon user-name transparent-png"></b>
                                                <!-- <em style="">手机号/邮箱地址</em> -->
                                                <a id="a_clear" href="javascript:;" class="passport-icon" style="display: none;"></a>
                                            </li>
                                            <li>
                                                <input id="pwd" type="password" maxlength="20" tabindex="2" value="" name="password" datatype="*6-20" nullmsg="请设置密码！" errormsg="密码范围在6~20位之间！" placeholder="密码">
                                                <b class="passport-icon login-password transparent-png"></b>
                                               <!--  <em style="">密码</em> -->
                                                <div class="key-capital gray6" style="display: none;" id="key_capital"><i class="passport-icon"></i>键盘大写已锁定，请注意大小写！<b><s></s></b></div>
                                            </li>
                                            <li>
                                                <span style="color: #666;margin-top: 3px;">验证码：</span>
                    <input class="text_verify" name="verify" type="text"  datatype="*6-6" nullmsg="请输入验证码！" errormsg="请输入正确的验证码！" style="padding: 5px 0 5px 40px;" />
                    <span class="fog"><img id="checkcode" src="{WEB_PATH}/api/checkcode/image/80_27/"/></span>
                                            </li>
                                            <li class="z-forget-pwd">
                                                <a id="hylinkGetPassPage" tabindex="4" class="gray9 forget" href="?/member/finduser/findpassword">忘记密码？</a>
                                            </li>
                                            <li id="vcCodeContainerLi" class="z-vc-code" style="display: none;">
                                              
                                            </li>
                                        </ul>
                                    </div>
                                </dd>
                                <dd class="error-message orange" style="display: none;" id="dd_error_msg"></dd>
                            </dl>
                            <p>
                            <!-- 	<a id="btnSubmitLogin" href="javascript:;" class="z-agreeBtn" tabindex="3">登录</a> -->
                            	<input name="submit" type="submit" value="登录" class="z-agreeBtn" >
                            </p>

                            <ul id="j-tips-wrap" class="j-tips-wrap j-login-page">
                            </ul>
                    	</div>

                </div>

               
				<!-- <ul>				
					<li class="click">
						<span>账&nbsp;&nbsp;  号：</span>
						<input class="text_password" name="username" type="text"  datatype="m | e" nullmsg="请填写帐号！" errormsg="手机号/邮箱！" />
					</li>
					<li class="ts"><div class="Validform_checktip">&nbsp;&nbsp;  手机号/邮箱！</div></li>
					<li>
						<span>密&nbsp;&nbsp;  码：</span>
						<input class="text_password" name="password" type="password"  datatype="*6-20" nullmsg="请设置密码！" errormsg="密码范围在6~20位之间！"/>
						<span class="fog"><a href="{WEB_PATH}/member/finduser/findpassword">忘记密码？</a></span> 
					</li>
	                <li class="ts" id="pwd_ts"><div class="Validform_checktip">&nbsp;&nbsp;  请输入登录密码</div></li>
	                <li>
	                    <span>验证码：</span>
	                    <input class="text_verify" name="verify" type="text"  datatype="*6-6" nullmsg="请输入验证码！" errormsg="请输入正确的验证码！"/>
	                    <span class="fog"><img id="checkcode" src="{WEB_PATH}/api/checkcode/image/80_27/"/></span>
	                </li>
	                <li class="ts" id="pwd_ts"><div class="Validform_checktip">&nbsp;&nbsp;  请输入验证码</div></li>
					<li class="end"><span><input name="submit" type="submit" value="登录" class="login_init" ></span>
	                    <span><a id="hylinkRegisterPage" tabindex="4" class="reg" href="{WEB_PATH}/register">立即注册</a></span></li>
				</ul> -->
				{wc:php:start}
					$conn_cfg = System::load_app_config("connect",'','api');
	            {wc:php:end}
	            {wc:if $conn_cfg['qq']['off']}
	 			<!-- <div class="loginQQ">使用合作帐号登录:<span id="qq_login_btn">
	 				<a href="{WEB_PATH}/api/qqlogin/"><img src="{G_TEMPLATES_STYLE}/images/qqlogin.png" /></a>
	 			</span></div>  --> 
	 			 <div class="other-login clrfix">
                        <div class="kj-login fl">
                            <span>快捷登录：</span>
                            <a id="qq_login_btn" href="{WEB_PATH}/api/qqlogin/" class="qq-icon"><b class="passport-icon transparent-png"></b></a>
                            <a id="wx_login_btn" href="javascript:;" class="wx-icon"><b class="passport-icon transparent-png"></b></a>
                        </div>
                        <a id="hylinkRegisterPage" tabindex="7" class="fr orange z-registered" href="{WEB_PATH}/register">免费注册<i class="passport-icon"></i></a>
                </div>
	            {wc:if:end}			
				<!-- <input value="{G_HTTP_REFERER}" name="hidurl" type="hidden"> -->
			</form>
			</div>
		</div>
		
	</div>
</div>
<!--login 结束-->
<!-- login 新样式start yjmp -->

<!-- login 新样式end yjmp -->
<div class="footer">
	<div class="footer_links">
		<a href="{WEB_PATH}">首页</a>
		<b></b>
		{wc:fun:Getheader('foot')}
  	</div>
	<div class="copyright">{wc:fun:_cfg("web_copyright")}</div>
</div>
<!-- <script type="text/javascript" src="{G_TEMPLATES_JS}/tcommon.js"></script> -->
<script type="text/javascript">
    $(function(){       
    var demo=$(".registerform").Validform({
        tiptype:2,
    });

    var checkcode=document.getElementById('checkcode');
    checkcode.src = checkcode.src + new Date().getTime();
    var src=checkcode.src;
    checkcode.onclick=function(){
        this.src=src+'/'+new Date().getTime();
    }


})
</script>
</script>
</body>
</html>